package Logica;

import javax.persistence.*;
import java.io.Serializable;

@Entity
public class Severidad implements Serializable {

    @Id
    private int nivel;

    public Severidad() {
    }

    public Severidad(int nivel) {
        this.nivel = nivel;
    }

    public int getNivel() {
        return nivel;
    }

    public void setNivel(int nivel) {
        this.nivel = nivel;
    }
    @Override
    public String toString() {
        return "nivel= " + nivel;
    }
}
